<template>
	<view class="content bgf">
		<view>
			<view class="flex list" :class="{one: index == 0 }" v-for="(item, index) in list"
			 :key="index">
				<view class="info flex1">
					<view class="title">{{item.processInfo}}</view>
					<view class="text time_wa">{{item.upload_Time}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			list: {
				type: Array,
				default: []
			}
		},
		watch: {
			list:{
				handler (newVal, oldVal) {
					console.log(oldVal , '返回信息')
				},	
				deep: false, // 是否深度监听
				immediate: true, // 是否在组件创建时立即执行回调函数
			},
		
		},
		data() {
			return {}
		},

		onLoad() {

		},

		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	// @import url(./index.scss);
	
	
	/*flex 转换成flex容器*/
	.flex {
		display: flex;
		flex-direction: row;
	}
	/*flex1 自动填充*/
	.flex1 {
		flex: 1;
	}
	
	/*ali-c 竖直居中*/
	.ali-c {
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	
	.bgf {
		background-color: #fff;
	}
	//收货地址
	.content {
		margin: 20rpx;
		padding: 0 20rpx;
		border-radius: 20rpx;
	
		.list {
			&:first-child {
				.info::before {
					bottom: -20rpx;
					border-left: 1px dashed #e5e5e5;
				}
	
				.title {
					margin-bottom: 20rpx;
					font-size: 24rpx;	
					
				}
			}
	
			&:last-child {
				.info::before {
					height: 32rpx;
				}
			}
			&.one {
				.info::before {
					margin-top: 20rpx;
				}
	
				.title {
					color: #ff6402;
					&::before {
						content: "";
						position: absolute;
						left: -5px;
						top: 0;
						bottom: 0;
						z-index: 1;
						width: 10px;
						height: 10px;
						margin: auto 0;
						border-radius: 50%;
						background-color: #ff6402;
					}
				}
	
				.text {
					color: #ff6402;
				}
	
				.time {
					color: #333;
					font-size: 24rpx;
					.day {
						font-size: 24rpx;
					}
				}
			}
		}
	
		.time {
			width: 200rpx;
			padding-right: 30rpx;
			font-size: 24rpx;
			text-align: right;
			color: #999;
	
			.day {
				margin-bottom: 4rpx;
			}
		}
	
		.info {
			position: relative;
			padding-top: 12rpx;
			color: #999;
	
			&::before {
				content: "";
				position: absolute;
				left: 0;
				top: 0;
				bottom: 0;
				z-index: 1;
				width: 0;
				border-left: 1px solid #e5e5e5;
			}
	
			.title {
				position: relative;
				margin-bottom: 10rpx;
				padding-left: 32rpx;
				font-size: 24rpx;
	
				&::before {
					content: "";
					position: absolute;
					left: -3px;
					top: 0;
					bottom: 0;
					z-index: 1;
					width: 7px;
					height: 7px;
					margin: auto 0;
					border-radius: 50%;
					background-color: #cecece;
				}
	
				&.address {
					font-size: 24rpx;
					color: #333;
				}
			}
	
			.text {
				padding: 0 0 44rpx 32rpx;
			}
		}
	}
	.first{
		font-size: 24rpx;
		color: #ff6402;
		font-weight: 800;
	}
	.other{
		font-size: 24rpx;
		color: #999;
		font-weight: 500;
	}
	.time_wa{
		font-size: 20rpx !important;
	}
</style>
